[PHP/JavaScript]: Get PHP session value in other file's JavaScript function.

Posted by RPK on Stack Overflow See other posts from Stack Overflow or by RPK
Published on 2009-10-22T14:13:23Z Indexed on 2010/05/04 16:18 UTC
Read the original article Hit count: 170

Filed under:
|

I have a PHP file and it holds a value in this session variable: $_SESSION['image_value'].

I want this session value in a JavaScript function. Actually, I want to match a string in my JavaScript function with this session value.

Anyway I can do this?

© Stack Overflow or respective owner

Related posts about php

Related posts about JavaScript